<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>修改页面</title>
</head>
<body>
<form action="/update" method="post">
    <input type="hidden" name="id" th:value="${c.id}">
    名称：<input type="text" name="name" th:value="${c.name}"/><br/>
    数量：<input type="text" name="goodsNum" th:value="${c.goodsNum}"/><br/>
    是否展示：<input type="radio" name="isShow" value="0" th:checked="${c.isShow==0}?'checked':'false'"/>是
    <input type="radio" name="isShow" value="1" th:checked="${c.isShow==1}?'checked':'false'"/>否<br/>
    <input type="submit" value="确定"/><br/>
</form>
</body>
</html>